//
//  AppDelegate.swift
//  QMContrastTableView
//
//  Created by 戴泉明 on 2021/4/22.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
    var window: UIWindow?
    
    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
        
        setRootVC()
        
        return true
    }
}

// MAKR: - private
extension AppDelegate {
    /// 设置根视图
    private func setRootVC() {
        window = UIWindow(frame: UIScreen.main.bounds)
        window?.backgroundColor = UIColor.white
        let testVc = UINavigationController(rootViewController: MMContrastAuthorVC())
        window?.rootViewController = testVc
        window?.makeKeyAndVisible()
    }
    
}


